package com.xinyu.service;

import com.xinyu.domain.Daily;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinyu.vo.BaseResult;
import com.xinyu.vo.DailyRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author: XinYu
 * @since 2025-02-17
 */
public interface IDailyService extends IService<Daily> {

    BaseResult queryByCondition(DailyRequest dailyRequest);

    Daily findById(Integer id);

    int syncStateWithTask();

    void saveDailyWithAttachments(Daily daily, Integer operatorId);

    void updateDailyWithAttachments(Daily daily, Integer operatorId);
}
